package cn.edu.scau.cmi.linzhanyi.client;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class AdapterClient extends Application{
	 	@Override
	    public void start(Stage primaryStage) throws Exception{
	        Parent root = FXMLLoader.load(getClass().getResource("/cn/edu/scau/cmi/linzhanyi/adapter/sample.fxml"));
	        primaryStage.setTitle("实验四：适配器模式");
	        primaryStage.setScene(new Scene(root, 600, 400));
	        primaryStage.show();
	    }


	    public static void main(String[] args) {
	        launch(args);
	    }
}
